package test1;

public class Test {
	int i = 100;

	public void fun(int k) {
		J_Interface j_i = new J_Interface() {

			@Override
			public void method() {
				System.out.println(p);
			}
		};
	}
	
	private int p;

}

interface J_Interface {

	public int data = 5;

	public void method();
}
